package cc.fs.zhihuapp.model;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by fostion on 2015/12/7.
 */
public class classa implements Parcelable {

    int a1;
    byte a3;
    char a4;
    String a5;
    double a6;
    boolean a7;
    float a8;

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.a1);
        dest.writeByte(this.a3);
        dest.writeInt(a4);
        dest.writeString(this.a5);
        dest.writeDouble(this.a6);
        dest.writeByte(a7 ? (byte) 1 : (byte) 0);
        dest.writeFloat(this.a8);
    }

    public classa() {
    }

    protected classa(Parcel in) {
        this.a1 = in.readInt();
        this.a3 = in.readByte();
        this.a4 = (char) in.readInt();
        this.a5 = in.readString();
        this.a6 = in.readDouble();
        this.a7 = in.readByte() != 0;
        this.a8 = in.readFloat();
    }

    public static final Creator<classa> CREATOR = new Creator<classa>() {
        public classa createFromParcel(Parcel source) {
            return new classa(source);
        }

        public classa[] newArray(int size) {
            return new classa[size];
        }
    };
}
